<?
session_start();
//session_register('kart_array');
//$_SESSION['kart_array'] = $_SESSION['kart_array'] ;

$path = '../Mkart/';
include($path."common.php");
include($path."prod_fun.php");


$num_array = $_GET['num'] ;


unset($_SESSION['kart_array'][$num_array]);
sort($_SESSION['kart_array']);

//print_r(count($_SESSION['kart_array'])) ;
if(count($_SESSION['kart_array']) == 0){
$_SESSION['kart_array'] = "" ;
//session_destroy( ) ;
}
?>